package com.qf.service.impl;

import com.qf.bean.Menu;
import com.qf.bean.Users;
import com.qf.dao.MenuUsersDao;
import com.qf.service.MenuUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 2019/12/7
 * Administrator
 * springboot1207
 * 面向对象面向君  不负代码不负卿
 */
@Service
public class MenuUsersServiceImpl implements MenuUsersService {
  @Autowired
  private MenuUsersDao usersDao;

    @Override
    public List<Users> findusers() {
        return usersDao.findusers();
    }

    @Override
    public List<Menu> findMenus() {
        return usersDao.findMenus();
    }
}
